import React from 'react';
import {View, Text, TouchableOpacity} from 'react-native';
import FontAwesome5 from 'react-native-vector-icons/FontAwesome5';
import {IconColor} from './config';
export default ({leftNavIsOpen, setLeftNavIsOpen}) => {
  return (
    <TouchableOpacity onPress={() => {
      setLeftNavIsOpen(!leftNavIsOpen);
    }}>
      <FontAwesome5 name="align-left" size={24} color={IconColor}/>
    </TouchableOpacity>
  );
};